<?php if(empty($links)) return NULL; ?>
<div class="paginate"><?php echo $links;?></div>
